package com.dp.Decorator;

public class concreateDecorator extends Decorator{

	public concreateDecorator(AbstractComponent component) {
		super(component);
	}

	@Override
	void doSomething() {
		//super.doSomething();
		component.doSomething();
		doAnotherthing();
	}
	
	void doAnotherthing(){
		System.out.println("do another thing");
	}
}
